dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9e30b0
)
fix uggo notice selecting commons db
author
Brion Vibber
<brion@users.mediawiki.org>
Mon, 5 Mar 2007 20:03:45 +0000
(20:03 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Mon, 5 Mar 2007 20:03:45 +0000
(20:03 +0000)
includes/Image.php
patch
|
blob
|
history
diff --git
a/includes/Image.php
b/includes/Image.php
index
d56a1dd
..
ef6d9e4
100644
(file)
--- a/
includes/Image.php
+++ b/
includes/Image.php
@@
-2330,7
+2330,7
@@
class Image
static function getCommonsDB() {
static $dbc;
- global $wgLoadBalancer;
+ global $wgLoadBalancer
, $wgSharedUploadDBname
;
if ( !isset( $dbc ) ) {
$i = $wgLoadBalancer->getGroupIndex( 'commons' );
$dbinfo = $wgLoadBalancer->mServers[$i];